/**
 * 
 */
package com.india.airline;

import java.util.ArrayList;
import java.util.List;

import com.india.RouteCode;
import com.india.StopNode;

/**
 * @author pradeep
 *
 */
public class AirlinesRoute extends AbstractAirlinesRoute {

	/* (non-Javadoc)
	 * @see com.test.MyRoute#getCode()
	 */
	@Override
	public RouteCode getCode() {
		return AirLineRouteCode.HYD_DEL;
	}

	/* (non-Javadoc)
	 * @see com.test.MyRoute#getRouteNodes()
	 */
	@Override
	public List<StopNode> getRouteNodes() {
		List<StopNode> nodes = new ArrayList<StopNode>();
		nodes.add(AirlineNode.DEL);
		nodes.add(AirlineNode.HYD);
		return nodes;
	}

}
